﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVC.Web.UI.Dialog;
using MVC.Web.UI.Tabs;
using MVC.Web.UI.Accordion;
using MVC.Web.UI.Panel;

namespace MVC.Web.UI
{
    public class MVCUIControlFactory
    {
        private System.Web.Mvc.HtmlHelper _helper;

        public MVCUIControlFactory(System.Web.Mvc.HtmlHelper helper)
        {
            this._helper = helper;
        }
        public MVCUIScriptManager ScriptManager()
        {
            return new MVCUIScriptManager();
        }
        public IWebDialogBuilder WebDialog() 
        {
            return new WebDialogBuilder(this._helper);
        }
        public WebTabBuilder WebTab() 
        {
            return new WebTabBuilder(this._helper);
        }
        public WebAccordionBuilder Accordion() 
        {
            return new WebAccordionBuilder(this._helper);
        }
        public WebPanelBuilder WebPanel()
        {
            return new WebPanelBuilder(this._helper);
        }
    }
}
